﻿<%--
 *  File:    ApprovalFailTempDetail812.jsp
 *  @Author: shigang
 *  Date:    2013/04/24
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval. 
--%>
 

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<% //--------------------------------------  setting logger --%>
<%
  	Category cat = Category.getInstance("jsp.ApprovalFailTempDetail"); 
%>

<% //--------------------------------------  variant and initialization --%>
<%
    String strModuleName = "PCM";
  	String strTableName = "";
  	String privilegeCode = "11601";
  	String contextPath = request.getContextPath();
%>



<%
  	HashMap CurUserInfo = (HashMap)session.getAttribute("userinfo");

String strFromuserid = (CurUserInfo.get("userid")).toString();
%>

<% //--------------------------------------  include files list --%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/FrmDefault.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>


<html>
<head>
<title>ApprovalFailTempDetail</title>
<PageFlow:CheckPageFlow pageName="approvalfailtempdetail"/>
<% //--------------------------------------  output variant from pageflow --%>
<%

  	Vector userGroupSummary = (Vector)pageContext.getAttribute("ugsummary");
  	if(userGroupSummary == null)
  	{
    	userGroupSummary = new Vector();
  	}
  	
  	Vector oldtotalsummary = (Vector)pageContext.getAttribute("oldtotalsummary");
  	if(oldtotalsummary == null)
  	{
  		oldtotalsummary = new Vector();
  	}
  	
  	String subjectcode = (String)pageContext.getAttribute("subjectcode");
  	
	
%>
<%@ include file="/inc/InitEdit.inc" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/FuncLib.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/opal2/mootools.js"></script>
<%@ include file="/inc/SummaryDivision.inc" %>
<script>

function page_summary(actionvalue,orderbyname)
{
  var editform = summaryPrepare(usergroupsummaryform,actionvalue,orderbyname);
  editform.action = "ApprovalFailTempDetail.jsp?<%= OvalTools.randomURL() %>";
  editform.target = "_self";
  isRunning = true;
  editform.submit();  
}


function allcheckselect(){
	var allcheck = usergroupsummaryform.allcheck.checked;
	var alldatafile = document.getElementsByName('batchnoidstr');
	var length = alldatafile.length;
	if(allcheck){
		for(var i = 0 ; i < length;i++){
			alldatafile[i].checked = true;
		}
	}else{
		for(var i = 0 ; i < length;i++){
			alldatafile[i].checked = false;
		}	
	}
}


function editMode(obj,index,name,id) {
    if ($(name + index) == null) {
        var c = Trim(obj.innerText);
        var t = new Element('input', {
            'type':'text',
            'value':c,
            'styles':{
                    'width':'500px'
                     },
            'id':name + index,
            'name':name,
            'events':{
                'blur':function() {
                    saveData(this,id,c);
                },
                'keydown':function() {
                    if (event.keyCode == 13) {
                        saveData(this,id,c);
                    }
                }
            }
        });
       
        obj.innerHTML = '&nbsp;';
        t.inject(obj);
        selectText(t);
    }
}

function saveData(obj,id,c) {
    var p = obj.parentNode;
    var fromusrid= document.usergroupsummaryform.fromuserid.value ;
    var subjectcode = document.usergroupsummaryform.subjectcode.value ;
    var begindate = document.usergroupsummaryform.begindate.value ;
    p.innerHTML = obj.value;
    var req = new Request({
        'url':'<%=contextPath%>/Dispatcher',
        'method':'get',
        'data':'pagename=approvalfailtempdetail&actionname=save&columnname=' + obj.name + '&columnvalue='+ encodeURI(obj.value) + '&transactionid=' + id+'&transactioncode=' + id +'&fromuserid='+fromusrid+ '&subjectcode='+subjectcode+'&begindate='+begindate
    });
    req.send(); 
    window.location.reload();
}

//选中文本框中的字符


function selectText(obj) {
    var range = obj.createTextRange();
    range.moveStart("character", 0);
    range.select();
}

/*
function page_update(){
	
    if(isNullChecked(usergroupsummaryform.brandcodes))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }

	var alldatafile = document.getElementsByName('brandcodes');
	var length = alldatafile.length;
		for(var i=0;i<length;i++){
	      var j=i+1;
		  if(alldatafile[i].checked){
		    var approvalproposal=eval("document.usergroupsummaryform.approvalproposal111"+j).value;
			if(approvalproposal=="")
			{
				alert("<%= message.getMessageDesc("VALUE_NOT_NULL",label.getLabelName("L_Approve",false)) %>");
		        return;
			}
		  }
		}
    
	document.usergroupsummaryform.actionname.value = "update";
	document.usergroupsummaryform.target = "_self";
    isRunning = true;
	document.usergroupsummaryform.submit();
}

function page_agree(){
	
    if(isNullChecked(usergroupsummaryform.brandcodes))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }

	document.usergroupsummaryform.actionname.value = "agree";
	document.usergroupsummaryform.target = "_self";
    isRunning = true;
	document.usergroupsummaryform.submit();
}

function page_disagree(){
    if(isNullChecked(document.usergroupsummaryform.brandcodes))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }

	var alldatafile = document.getElementsByName('brandcodes');
	var length = alldatafile.length;
		for(var i=0;i<length;i++){
	      var j=i+1;
		  if(alldatafile[i].checked){
		    var approvalproposal=eval("document.usergroupsummaryform.nc0"+j).value;
			if(approvalproposal=="")
			{
				alert("<%= message.getMessageDesc("VALUE_NOT_NULL",label.getLabelName("L_Approve",false)) %>");
		        return;
			}
		  }
		}
	document.usergroupsummaryform.actionname.value = "disagree";
	document.usergroupsummaryform.target = "_self";
    isRunning = true;
	document.usergroupsummaryform.submit();
}
*/
function page_done(a_str)

{ 
 var approvalnoteseditform= document.usergroupsummaryform;
 if(isNullChecked(approvalnoteseditform.batchnoidstr))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }
 var alldatafile = document.getElementsByName('batchnoidstr');
 var length = alldatafile.length;
 for(var i = 0 ; i < length;i++){
  if (alldatafile[i].checked){
  
	var objstatus=eval('usergroupsummaryform.status'+i);
	
	 if ( objstatus.value!=20){
        alert("<%=message.getMessageDesc("J_STATUS_CHECK_ERROR")%>");
      return;
  }
  }
 }

 if(a_str=="agree")
    {
      if (isAllSpace(approvalnoteseditform.nt0.value)){
     
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Agree",false)%>";
      }else{
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Agree",false) + label.getLabelName("L_Colon")%>"+approvalnoteseditform.nt0.value;
      }
    	approvalnoteseditform.actionname.value = "approvepassed";
    }else if(a_str=="deny"){
   
      if (isAllSpace(approvalnoteseditform.nt0.value)){
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Refuse",false)%>";
      }else{
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Refuse",false) + label.getLabelName("L_Colon")%>"+approvalnoteseditform.nt0.value;
      }
        approvalnoteseditform.actionname.value = "approvedenied";
    }
    else if(a_str=="disagree"){
   
      if (isAllSpace(approvalnoteseditform.nt0.value)){
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_NotAgree",false)%>";
      }else{
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_NotAgree",false) + label.getLabelName("L_Colon")%>"+approvalnoteseditform.nt0.value;
      }
        approvalnoteseditform.actionname.value = "approvepassed";
        
    }
   
    setValue();
   
    approvalnoteseditform.pagename.value="approvalnotesedit";
    approvalnoteseditform.target = "_self";
    isRunning = true;
    approvalnoteseditform.submit();
    }
    
    function setValue()
{
   var frm = document.usergroupsummaryform;
   frm.nt1.value = frm.nt0.value;
   frm.nc1.value = frm.nc0.value;
}
function page_back(){

	var subjectcode =document.usergroupsummaryform.subjectcode.value;
	self.location.href ="ApprovalFailSummary.jsp?<%= OvalTools.randomURL() %>"+"&globalpccode=112"+"&subjectcode="+subjectcode;
}
function page_approval()
{
  var frm = document.usergroupsummaryform;

  frm.pagename.value = "approvalfailsummary";
  frm.actionname.value = "approve";
  frm.target = "_parent";
  isRunning = true;
  frm.submit();

}
</script>

<%
String strLanguageCode0;
  String strLanguageCode1;
  if(strLanguageCode.equalsIgnoreCase("cn"))
  {
	strLanguageCode0 = "cn";
	strLanguageCode1 = "en";
  }else{
	strLanguageCode0 = "en";
	strLanguageCode1 = "cn";    
  }%>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

	<% //--------------------------------------  hidden form variant --%>
	<form name="usergroupsummaryform" method="post" action="../../Dispatcher"  target="_parent">
    <input type="hidden" name="pagename" value="approvalfailtempdetail">
    <input type="hidden" name="actionname">
    <input type="hidden" name="languagecode" value="<%= strLanguageCode %>">

    <input type="hidden" name="subjectcode" value="<%=subjectcode %>"/>
 

    <input type="hidden" name="fromuserid" value="<%=JspHelper.filterNull( strFromuserid)%>">
    <input type="hidden" name="begindate" value="<%=JspHelper.filterNull( new java.sql.Date(new java.util.Date().getTime()) )%>">
       <input type="hidden" name="languagecode0" value="<%= strLanguageCode0 %>">
    <input type="hidden" name="languagecode1" value="<%= strLanguageCode1 %>">
    <input type="hidden" name="nt0">
      <input type="hidden" name="nt1">
        <input type="hidden" name="nc1">
          <input type="hidden" name="nc0">
    <input type="hidden" name="numrows" value="2">
	<% //--------------------------------------  page location --%>
	<%@ include file="/inc/PageLocation.inc" %>
	
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
  	<tr> 
    	<td valign="top"> 
    		<table width="100%" border="0" cellspacing="0">
          	<tr><td class="summary_top" ></td></tr>
        	</table>
        </td>
   	</tr>
   	</table>
<div style="overflow:auto;width:1230;height:400">   
   	<table width="6600"  border="1" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellspacing="0" align="center">
 	
  <% if (subjectcode.equals("804")){  %>
            <tr class="deepblue-left">
              <td class="title_center" rowspan="2" width="1%">&nbsp;<input type="checkbox" name="allcheck" class="normalradio" onclick="allcheckselect();"></td>
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_SlipCode") %> </td>	
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_ApprovalStatus") %> </td>			  
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_Approve") %> </td>
              	
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_BusinessUserCode") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_UserNumber") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_BusinessUserName") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_StatusName") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_GenderName") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_DeptName") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_TitleName") %></td>
             
             <!-- 
              -->
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_Station") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_EmpleoyeeType") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_YesOrNoBale") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_EducationalLevel") %></td>
              
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_MarriageStatusName") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_IDNumber") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_PrivateBankAccount") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ContactMethod") %></td>  
                          
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_Email") %></td>
              <td class="title_center" rowspan="2" width="200"><%= label.getLabelName("L_Address") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ZipCode1") %></td>         
              
              <td class="title_center" rowspan="2" width="80"><%= label.getLabelName("L_employeenameUp")+label.getLabelName("L_Code") %></td>
              <td class="title_center" rowspan="2" width="80"><%= label.getLabelName("L_employeenameUp")+label.getLabelName("L_Name") %></td>
              
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_Sort") %></td>         
              <!-- 
               -->
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ProvincesManagerCode") %></td> 
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ProvincesManagerName") %></td> 
             
              
              
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_Provicetdr") %></td>              
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_Begindate") %></td>   
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_Enddate") %></td>  
              <td class="title_center" rowspan="2" width="90"><%= label.getLabelName("L_Userqty") %></td> 
              
              <td class="title_center" rowspan="2" width="200"><%= label.getLabelName("L_USEDQTY") %></td> 
              	
              <td class="title_center" rowspan="2" width="80"><%= label.getLabelName("L_BusinessType") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_BirthDay") %></td>
              
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_ExInfo") %></td>
			  
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+1 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+2 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+3 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+4 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+5 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+6 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+7 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+8 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+9 %></td>
			  <td class="title_center" colspan="1" nowrap="nowrap"><%= label.getLabelName("L_ProductGroup")+10 %></td>
              
             
            </tr>
            <tr class="deepblue-left">
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
            </tr>
 <% } %> 
 
   
 <% if (subjectcode.equals("807")){  %>
            <tr class="deepblue-left">
              <td class="title_center" rowspan="2" width="1%">&nbsp;<input type="checkbox" name="allcheck" class="normalradio" onclick="allcheckselect();"></td>
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_SlipCode") %> </td>	
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_ApprovalStatus") %> </td>			  
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_Approve") %> </td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_HospitalCode") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_HospitalName") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Doctorcode") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_DoctorName") %></td>
              <td class="title_center" rowspan="2" width="85"><%= label.getLabelName("L_Standard_BusinessType") %></td>
              <td class="title_center" rowspan="2" width="85"><%= label.getLabelName("L_Reality_BusinessType") %></td>
              
              
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Status") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Gender") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_OfficePhone") %></td>
              <td class="title_center" rowspan="2" width="80"><%= label.getLabelName("L_MobilePhone") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_Comments") %></td>              
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_IsOrNotExpert") %></td>
              
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>1</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>2</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>3</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>4</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>5</td>
			  
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+1%>&nbsp;</td>    
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+2 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+3 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+4 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+5 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+6 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+7 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+8 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+9 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+10%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+11%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+12%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+13%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+14%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+15%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+16%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+17%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+18%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+19%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+20%>&nbsp;</td>  	
 			  
              <td class="title_center" rowspan="2" width="8%"><%= label.getLabelName("L_ErrorMsg") %> </td>
             
            </tr>
            <tr class="deepblue-left">
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
            </tr>
   <% } %>
   <% if (subjectcode.equals("901")){  %>
            <tr class="deepblue-left">
              <!-- <td class="title_center" rowspan="2" width="1%">&nbsp;<input type="checkbox" name="allcheck" class="normalradio" onclick="allcheckselect();"></td> -->
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_SlipCode") %> </td>	
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_ApprovalStatus") %> </td>			  
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_Approve") %> </td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_HospitalCode") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_HospitalName") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Doctorcode") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_DoctorName") %></td>
              <td class="title_center" rowspan="2" width="85"><%= label.getLabelName("L_Standard_BusinessType") %></td>
              <td class="title_center" rowspan="2" width="85"><%= label.getLabelName("L_Reality_BusinessType") %></td>
              
              
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Status") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Gender") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_OfficePhone") %></td>
              <td class="title_center" rowspan="2" width="80"><%= label.getLabelName("L_MobilePhone") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_Comments") %></td>              
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_IsOrNotExpert") %></td>
              
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>1</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>2</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>3</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>4</td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %>5</td>
			  
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+1%>&nbsp;</td>    
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+2 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+3 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+4 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+5 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+6 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+7 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+8 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+9 %>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+10%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+11%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+12%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+13%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+14%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+15%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+16%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+17%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+18%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+19%>&nbsp;</td>   
				<td class="title_center" colspan="1"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+20%>&nbsp;</td>  	
 			  
              <td class="title_center" rowspan="2" width="8%"><%= label.getLabelName("L_ErrorMsg") %> </td>
             
            </tr>
            <tr class="deepblue-left">
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
            </tr>
   <% } %>
 
 <% if (subjectcode.equals("812")){  %>
            <tr class="deepblue-left">
              <td class="title_center" rowspan="2" width="1%">&nbsp;<input type="checkbox" name="allcheck" class="normalradio" onclick="allcheckselect();"></td>
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_SlipCode") %> </td>	
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_ApprovalStatus") %> </td>
               <td class="title_center" rowspan="2"><%= label.getLabelName("L_Custom Code") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_CustomerName") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_ContactCode") %></td>
              <td class="title_center" rowspan="2" width="110"><%= label.getLabelName("L_ContactNameCN") %></td>
              <td class="title_center" rowspan="2" width="110"><%= label.getLabelName("L_ContactNameEN") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Status") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Gender") %></td>
              <td class="title_center" rowspan="2" width="3%"><%= label.getLabelName("L_NativePlace") %></td>
              <td class="title_center" rowspan="2" width="70"><%= label.getLabelName("L_Department") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_JobTitleName") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_AttendedTime") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Birthday2") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Birthday1") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_IDNumber") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_GraduatedFrom") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Profession") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_GraduationTime") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_HomeAddress") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_ZipCode") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Interests") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_OfficePhone") %></td>
              <td class="title_center" rowspan="2" width="85"><%= label.getLabelName("L_MobilePhone") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Email") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_SocialTitle") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_Comments") %></td>
              
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  
			  <!--<td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>1</td>	
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>2</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>3</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>4</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>5</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>6</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>7</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>8</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>9</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>10</td>-->
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+1 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+2 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+3 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+4 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+5 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+6 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+7 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+8 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+9 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+10%>&nbsp;</td>
			  			  
              <td class="title_center" rowspan="2" width="8%"><%= label.getLabelName("L_ErrorMsg") %> </td>
             
            </tr>
            <tr class="deepblue-left">
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
            </tr>	
   <% } %>  
   <% if (subjectcode.equals("905")){  %>
            <tr class="deepblue-left">
              <!--<td class="title_center" rowspan="2" width="1%">&nbsp;<input type="checkbox" name="allcheck" class="normalradio" onclick="allcheckselect();"></td> -->
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_SlipCode") %> </td>	
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_ApprovalStatus") %> </td>
               <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_Approve") %></td>
               <td class="title_center" rowspan="2"><%= label.getLabelName("L_Custom Code") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_CustomerName") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_ContactCode") %></td>
              <td class="title_center" rowspan="2" width="110"><%= label.getLabelName("L_ContactNameCN") %></td>
              <td class="title_center" rowspan="2" width="110"><%= label.getLabelName("L_ContactNameEN") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Status") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Gender") %></td>
              <td class="title_center" rowspan="2" width="3%"><%= label.getLabelName("L_NativePlace") %></td>
              <td class="title_center" rowspan="2" width="70"><%= label.getLabelName("L_Department") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_JobTitleName") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_AttendedTime") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Birthday2") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Birthday1") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_IDNumber") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_GraduatedFrom") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Profession") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_GraduationTime") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_HomeAddress") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_ZipCode") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Interests") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_OfficePhone") %></td>
              <td class="title_center" rowspan="2" width="85"><%= label.getLabelName("L_MobilePhone") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_Email") %></td>
              <td class="title_center" rowspan="2"><%= label.getLabelName("L_SocialTitle") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_Comments") %></td>
              
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  <td class="title_center" rowspan="2"><%= label.getLabelName("L_ExInfo") %></td>
			  
			  <!--<td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>1</td>	
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>2</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>3</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>4</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>5</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>6</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>7</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>8</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>9</td>
              <td class="title_center"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>10</td>-->
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+1 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+2 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+3 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+4 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+5 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+6 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+7 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+8 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+9 %>&nbsp;</td>
                <td class="title_center"><%=label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+10%>&nbsp;</td>
			  			  
              <td class="title_center" rowspan="2" width="8%"><%= label.getLabelName("L_ErrorMsg") %> </td>
             
            </tr>
            <tr class="deepblue-left">
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
			  <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
              <td class="title_center"><%= label.getLabelName("L_ISMAPPING") %></td>
            </tr>	
   <% } %>  
 
			
	<% //--------------------------------------  default value definition --%>
    <%
    	int i=0;
        Integer nDefaultzyldealerapproveid = new Integer(-1);               
        String strClassType = new String(); 
        boolean bHasChecked = false;
        String strDefaultIsDisabled="";
      
   	%>
   	
    <% //--------------------------------------  loop results --%>
     <span id="olddetail" >
    <logic:iterate id="usergroup" collection="<%= userGroupSummary %>" indexId="idx" scope="page">                      
    	
    <%
    	HashMap userGroupMap = (HashMap)pageContext.getAttribute("usergroup"); 
        String strIsDisabled = "";
        String strIsChecked = "";
            
        if(i%2==0){
            strClassType="td-listrom";
        } else{
            strClassType="none";
        } 
       if(!bHasChecked)
        {
	        strIsChecked = "Checked";                       
            bHasChecked = true;
            nDefaultzyldealerapproveid = (Integer)(userGroupMap.get("zyldealerapproveid"));
           
          	strDefaultIsDisabled = strIsDisabled;            
        }  
       i++;
  	%>
    
    <tr onMouseOver="this.className='tr-over'" onMouseOut="this.className='<%=JspHelper.filterNull( strClassType )%>'" class="<%=JspHelper.filterNull( strClassType )%>">

			   <%  if (subjectcode.equals("804")){  %>
			    <td class="title_center">
              <custom:checkbox property="zylemployeeapproveid" name="usergroup" changedName="batchnoidstr" styleClass="normalradio" />
              </td>
              <td><custom:write property="zylemployeeapproveid" name="usergroup"  nbsp="true" /></td>
              <td><custom:write property="approvename" name="usergroup"  nbsp="true"/></td>
                  <td><a href="../../biee/ApprovalNotesFrm.jsp?<%= OvalTools.randomURL() %>&transactionid=<custom:write name="usergroup" property="zylemployeeapproveid"/>&transactioncode=<custom:write name="usergroup" property="zylemployeeapproveid"/>&subjectcode=<%=subjectcode%>">
              <%= label.getLabelName("L_Approve") %>
              </a></td>
			   <td><custom:write property="username" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="employeecode" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="employeename" name="usergroup"  nbsp="true"/></td> 
              <custom:hidden property="basestatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />             
              <td><custom:write property="statusname" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="gendername" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="deptname" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="jobtitlename" name="usergroup"  nbsp="true"/></td>              
              
              <!-- 
               -->
              <td><custom:write property="station" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="employeetype" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="isbale" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="educationlevelcode" name="usergroup"  nbsp="true"/></td>    
                    
                    
              <td><custom:write property="marriagestatusname" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="idcardnumber" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="privatebankaccount" name="usergroup"  nbsp="true"/></td>    
              <td><custom:write property="officephone" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="email" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="addressname" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="zipcode" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="parentusercode" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="parentusername" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="issalesman" name="usergroup"  nbsp="true"/></td>          
              <!-- 
               -->
              <td><custom:write property="provincesmanagercode" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="provincesmanagername" name="usergroup"  nbsp="true"/></td> 
              
         
               
              <td><custom:write property="businessarea" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="entrydate" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="leavedate" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="userqty" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="usedqty" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="businesstype" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="birthday" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="attr101" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr102" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr103" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr104" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr105" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="ismapping1" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping2" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping3" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="ismapping4" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="ismapping5" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="ismapping6" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="ismapping7" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="ismapping8" name="usergroup"  nbsp="true"/></td> 
              <td><custom:write property="ismapping9" name="usergroup"  nbsp="true"/></td>  
              <td><custom:write property="ismapping10" name="usergroup"  nbsp="true"/></td> 
              
			   <% } %>
			   
			   
			   <%  if (subjectcode.equals("807")){  %>
			    <td class="title_center">
              <custom:checkbox property="zyldoctorapproveid" name="usergroup" changedName="batchnoidstr" styleClass="normalradio" />
              </td>
              <td><custom:write property="zyldoctorapproveid" name="usergroup"  nbsp="true" /></td>
              <td><custom:write property="approvename" name="usergroup"  nbsp="true"/></td>
                  <td><a href="../../biee/ApprovalNotesFrm.jsp?<%= OvalTools.randomURL() %>&transactionid=<custom:write name="usergroup" property="zyldoctorapproveid"/>&transactioncode=<custom:write name="usergroup" property="zyldoctorapproveid"/>&subjectcode=<%=subjectcode%>">
              <%= label.getLabelName("L_Approve") %>
              </a>
              </td>
			  <td><custom:write property="hpcode" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="hpname" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="doctorcode" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="doctorname" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="standardsectionname" name="usergroup" nbsp="true"/></td>
              
              <td><custom:write property="departmentname" name="usergroup" nbsp="true"/></td>
              <custom:hidden property="basestatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />
              <td><custom:write property="statusname" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="gendername" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="telephone" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="cellphone" name="usergroup" nbsp="true"/></td>              
              <td><custom:write property="comments" name="usergroup" nbsp="true"/></td>              
              <td><custom:write property="ismedicalcouncilmember" name="usergroup" nbsp="true"/></td>
              
              <td><custom:write property="attr101" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr102" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr103" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr104" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr105" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="ismapping1" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping2" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping3" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping4" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping5" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping6" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping7" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping8" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping9" name="usergroup"  nbsp="true"/></td>  
              <td><custom:write property="ismapping10" name="usergroup"  nbsp="true"/></td>         
              
              <td><custom:write property="ismapping11" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping12" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping13" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping14" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping15" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping16" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping17" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping18" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping19" name="usergroup"  nbsp="true"/></td>  
              <td><custom:write property="ismapping20" name="usergroup"  nbsp="true"/></td>     
              
              <td><custom:write property="errormassage" name="onerow" nbsp="true"/></td>  
              
     <% } %>
      <%  if (subjectcode.equals("901")){  %>
			    <!--<td class="title_center">
              <custom:checkbox property="zyldoctorapproveid" name="usergroup" changedName="batchnoidstr" styleClass="normalradio" />
              </td>-->
              <td><custom:write property="zyldoctorapproveid" name="usergroup"  nbsp="true" /></td>
              <td><custom:write property="approvename" name="usergroup"  nbsp="true"/></td>
                  <td><a href="../../biee/ApprovalNotesFrm.jsp?<%= OvalTools.randomURL() %>&transactionid=<custom:write name="usergroup" property="zyldoctorapproveid"/>&transactioncode=<custom:write name="usergroup" property="zyldoctorapproveid"/>&subjectcode=807">
              <%= label.getLabelName("L_Approve") %>
              </a></td>
			  <td><custom:write property="hpcode" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="hpname" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="doctorcode" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="doctorname" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="standardsectionname" name="usergroup" nbsp="true"/></td>
              
              <td><custom:write property="departmentname" name="usergroup" nbsp="true"/></td>
              <custom:hidden property="basestatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />
              <td><custom:write property="statusname" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="gendername" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="telephone" name="usergroup" nbsp="true"/></td>
              <td><custom:write property="cellphone" name="usergroup" nbsp="true"/></td>              
              <td><custom:write property="comments" name="usergroup" nbsp="true"/></td>              
              <td><custom:write property="ismedicalcouncilmember" name="usergroup" nbsp="true"/></td>
              
              <td><custom:write property="attr101" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr102" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr103" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr104" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="attr105" name="usergroup"  nbsp="true"/></td>
              
              <td><custom:write property="ismapping1" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping2" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping3" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping4" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping5" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping6" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping7" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping8" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping9" name="usergroup"  nbsp="true"/></td>  
              <td><custom:write property="ismapping10" name="usergroup"  nbsp="true"/></td>         
              
              <td><custom:write property="ismapping11" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping12" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping13" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping14" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping15" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping16" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping17" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping18" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="ismapping19" name="usergroup"  nbsp="true"/></td>  
              <td><custom:write property="ismapping20" name="usergroup"  nbsp="true"/></td>     
              
              <td><custom:write property="errormassage" name="onerow" nbsp="true"/></td>  
              
     <% } %>
			  
			  <%  if (subjectcode.equals("812")){  %>                                                                                                                                                                                                                                                              	
   			    <td class="title_center">                                                                                                                                                                                                                                                    
                 <custom:checkbox property="zylempdoctorapproveid" name="usergroup" changedName="batchnoidstr" styleClass="normalradio" />                                                                                                                                                  
                 </td>                                                                                                                                                                                                                                                                   
                 <td><custom:write property="zylempdoctorapproveid" name="usergroup"  nbsp="true" /></td>                                                                                                                                                                                   
                 <td><custom:write property="approvename" name="usergroup"  nbsp="true"/></td>                                                                                                                                                                                           
                     <td><a href="../../biee/ApprovalNotesFrm.jsp?<%= OvalTools.randomURL() %>&transactionid=<custom:write name="usergroup" property="zylempdoctorapproveid"/>&transactioncode=<custom:write name="usergroup" property="zylempdoctorapproveid"/>&subjectcode=<%=subjectcode%>">
                 <%= label.getLabelName("L_Approve") %>                                                                                                                                                                                                                                  
                 </a></td>   
                 
                 
                  <%
              //userGroupMap
              HashMap row=null;
              for(int ii=0;ii<oldtotalsummary.size();ii++){
            	  if(((String)userGroupMap.get("hpcode")).equals(((String)(((HashMap)oldtotalsummary.get(ii)).get("hpcode"))))){
            		  row=(HashMap)oldtotalsummary.get(ii);
            		  //out.print(row);
            	  }
              }
              pageContext.setAttribute("row",row);
              if(row == null) {
              %>
                		<td><font color="green"><custom:write property="hpcode" name="usergroup" nbsp="true"/></td>                                
         				<td><font color="green"><custom:write property="hpname" name="usergroup" nbsp="true"/></td>                                                                                                                                                                                                                                                                                 
         				<td><font color="green"><custom:write property="doctorcode" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="doctorname" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="englishname" name="usergroup" nbsp="true"/></td>  
         				<custom:hidden property="basestatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />         
         				<td><font color="green"><custom:write property="statusname" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="gendername" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="nativeplace" name="usergroup" nbsp="true"/></td>           
         				<td><font color="green"><custom:write property="departmentname" name="usergroup" nbsp="true"/></td>        
         				<td><font color="green"><custom:write property="jobtitlename" name="usergroup" nbsp="true"/></td>          
         				<td><font color="green"><custom:write property="dutytime" name="usergroup" nbsp="true"/></td>              
         				<td><font color="green"><custom:write property="birthday" name="usergroup" nbsp="true"/></td>              
         				<td><font color="green"><custom:write property="birthdaycn" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="idcardno" name="usergroup" nbsp="true"/></td>              
         				<td><font color="green"><custom:write property="college" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="profession" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="graduatedate" name="usergroup" nbsp="true"/></td>          
         				<td><font color="green"><custom:write property="address" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="zipcode" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="interest" name="usergroup" nbsp="true"/></td>              
         				<td><font color="green"><custom:write property="telephone" name="usergroup" nbsp="true"/></td>             
         				<td><font color="green"><custom:write property="cellphone" name="usergroup" nbsp="true"/></td>             
         				<td><font color="green"><custom:write property="email" name="usergroup" nbsp="true"/></td>                 
         				<td><font color="green"><custom:write property="societytitle" name="usergroup" nbsp="true"/></td>          
         				<td><font color="green"><custom:write property="comments" name="usergroup" nbsp="true"/></td>              
         				                                                                                    
         				<td><font color="green"><custom:write property="attr101" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="attr102" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="attr103" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="attr104" name="usergroup" nbsp="true"/></td>               
         				<td><font color="green"><custom:write property="attr105" name="usergroup" nbsp="true"/></td>               
         				                                                                                    
         				<td><font color="green"><custom:write property="ismapping1" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping2" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping3" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping4" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping5" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping6" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping7" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping8" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping9" name="usergroup" nbsp="true"/></td>            
         				<td><font color="green"><custom:write property="ismapping10" name="usergroup" nbsp="true"/></td>           
         				  <%}else{ %>
         				 <td><custom:write property="hpcode" name="usergroup" nbsp="true"/></td> 
         				 <td><custom:write property="hpname" name="usergroup" nbsp="true"/></td>  
         				 <td><custom:write property="doctorcode" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="doctorname" name="usergroup" nbsp="true"/></td>  
         				<td>
			                <p title="<%=(String)row.get("englishname") %>" style="color: red;" id="englishname_<%=idx %>">
			                <custom:write property="englishname" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="englishname" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="englishname" changedName="oldenglishname" name="row"   colIndex="<%=idx %>" />
			           </td>
         				<custom:hidden property="basestatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />  
         			    
         			    <td>
			                <p title="<%=(String)row.get("statusname") %>" style="color: red;" id="statusname_<%=idx %>">
			                <custom:write property="statusname" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="statusname" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="statusname" changedName="oldstatusname" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("nativeplace") %>" style="color: red;" id="nativeplace_<%=idx %>">
			                <custom:write property="nativeplace" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="nativeplace" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="nativeplace" changedName="oldnativeplace" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("departmentname") %>" style="color: red;" id="departmentname_<%=idx %>">
			                <custom:write property="departmentname" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="departmentname" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="departmentname" changedName="olddepartmentname" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("jobtitlename") %>" style="color: red;" id="jobtitlename_<%=idx %>">
			                <custom:write property="jobtitlename" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="jobtitlename" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="jobtitlename" changedName="oldjobtitlename" name="row"   colIndex="<%=idx %>" />
			           </td>  
			           <td>
			                <p title="<%=(String)row.get("dutytime") %>" style="color: red;" id="dutytime_<%=idx %>">
			                <custom:write property="dutytime" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="dutytime" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="dutytime" changedName="olddutytime" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("birthday") %>" style="color: red;" id="birthday_<%=idx %>">
			                <custom:write property="birthday" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="birthday" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="birthday" changedName="oldbirthday" name="row"   colIndex="<%=idx %>" />
			           </td> 
			           <td>
			                <p title="<%=(String)row.get("birthdaycn") %>" style="color: red;" id="birthdaycn_<%=idx %>">
			                <custom:write property="birthdaycn" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="birthdaycn" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="birthdaycn" changedName="oldbirthdaycn" name="row"   colIndex="<%=idx %>" />
			           </td>    
			           
			           <td>
			                <p title="<%=(String)row.get("idcardno") %>" style="color: red;" id="idcardno_<%=idx %>">
			                <custom:write property="idcardno" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="idcardno" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="idcardno" changedName="oldidcardno" name="row"   colIndex="<%=idx %>" />
			           </td> 
			           
			            <td>
			                <p title="<%=(String)row.get("idcardno") %>" style="color: red;" id="idcardno_<%=idx %>">
			                <custom:write property="idcardno" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="idcardno" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="idcardno" changedName="oldidcardno" name="row"   colIndex="<%=idx %>" />
			           </td> 
			           
			           <td>
			                <p title="<%=(String)row.get("college") %>" style="color: red;" id="college_<%=idx %>">
			                <custom:write property="college" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="college" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="college" changedName="oldcollege" name="row"   colIndex="<%=idx %>" />
			           </td> 
			           
			           <td>
			                <p title="<%=(String)row.get("profession") %>" style="color: red;" id="profession_<%=idx %>">
			                <custom:write property="profession" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="profession" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="profession" changedName="oldprofession" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("graduatedate") %>" style="color: red;" id="graduatedate_<%=idx %>">
			                <custom:write property="graduatedate" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="graduatedate" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="graduatedate" changedName="oldgraduatedate" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("address") %>" style="color: red;" id="address_<%=idx %>">
			                <custom:write property="address" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="address" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="address" changedName="oldaddress" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("zipcode") %>" style="color: red;" id="zipcode_<%=idx %>">
			                <custom:write property="zipcode" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="zipcode" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="zipcode" changedName="oldzipcode" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("interest") %>" style="color: red;" id="interest_<%=idx %>">
			                <custom:write property="interest" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="interest" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="interest" changedName="oldinterest" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			            <td>
			                <p title="<%=(String)row.get("telephone") %>" style="color: red;" id="telephone_<%=idx %>">
			                <custom:write property="telephone" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="telephone" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="telephone" changedName="oldtelephone" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("cellphone") %>" style="color: red;" id="cellphone_<%=idx %>">
			                <custom:write property="cellphone" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="cellphone" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="cellphone" changedName="oldcellphone" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("email") %>" style="color: red;" id="email_<%=idx %>">
			                <custom:write property="email" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="email" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="email" changedName="oldemail" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("societytitle") %>" style="color: red;" id="societytitle_<%=idx %>">
			                <custom:write property="societytitle" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="societytitle" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="societytitle" changedName="oldsocietytitle" name="row"   colIndex="<%=idx %>" />
			           </td> 
			           
			           <td>
			                <p title="<%=(String)row.get("comments") %>" style="color: red;" id="comments_<%=idx %>">
			                <custom:write property="comments" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="comments" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="comments" changedName="oldcomments" name="row"   colIndex="<%=idx %>" />
			           </td> 
			           
			           <td>
			                <p title="<%=(String)row.get("attr101") %>" style="color: red;" id="attr101_<%=idx %>">
			                <custom:write property="attr101" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="attr101" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="attr101" changedName="oldattr101" name="row"   colIndex="<%=idx %>" />
			           </td>	
			           
			           <td>
			                <p title="<%=(String)row.get("attr102") %>" style="color: red;" id="attr102_<%=idx %>">
			                <custom:write property="attr102" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="attr102" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="attr102" changedName="oldattr102" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("attr103") %>" style="color: red;" id="attr103_<%=idx %>">
			                <custom:write property="attr103" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="attr103" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="attr103" changedName="oldattr103" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("attr104") %>" style="color: red;" id="attr104_<%=idx %>">
			                <custom:write property="attr104" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="attr104" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="attr104" changedName="oldattr104" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("attr105") %>" style="color: red;" id="attr105_<%=idx %>">
			                <custom:write property="attr105" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="attr105" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="attr105" changedName="oldattr105" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("ismapping1") %>" style="color: red;" id="ismapping1_<%=idx %>">
			                <custom:write property="ismapping1" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping1" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping1" changedName="oldismapping1" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("ismapping2") %>" style="color: red;" id="ismapping2_<%=idx %>">
			                <custom:write property="ismapping2" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping2" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping2" changedName="oldismapping2" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("ismapping3") %>" style="color: red;" id="ismapping3_<%=idx %>">
			                <custom:write property="ismapping3" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping3" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping3" changedName="oldismapping3" name="row"   colIndex="<%=idx %>" />
			           </td>
			           
			           <td>
			                <p title="<%=(String)row.get("ismapping4") %>" style="color: red;" id="ismapping4_<%=idx %>">
			                <custom:write property="ismapping4" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping4" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping4" changedName="oldismapping4" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("ismapping5") %>" style="color: red;" id="ismapping5_<%=idx %>">
			                <custom:write property="ismapping5" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping5" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping5" changedName="oldismapping5" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("ismapping6") %>" style="color: red;" id="ismapping6_<%=idx %>">
			                <custom:write property="ismapping6" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping6" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping6" changedName="oldismapping6" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("ismapping7") %>" style="color: red;" id="ismapping7_<%=idx %>">
			                <custom:write property="ismapping7" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping7" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping7" changedName="oldismapping7" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("ismapping8") %>" style="color: red;" id="ismapping8_<%=idx %>">
			                <custom:write property="ismapping8" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping8" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping8" changedName="oldismapping8" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("ismapping9") %>" style="color: red;" id="ismapping9_<%=idx %>">
			                <custom:write property="ismapping9" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping9" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping9" changedName="oldismapping9" name="row"   colIndex="<%=idx %>" />
			           </td>
			           <td>
			                <p title="<%=(String)row.get("ismapping10") %>" style="color: red;" id="ismapping10_<%=idx %>">
			                <custom:write property="ismapping10" name="usergroup"  nbsp="true"/></p>
			                <custom:hidden property="ismapping10" name="usergroup"  colIndex="<%=idx %>"/>
			                <custom:hidden property="ismapping10" changedName="oldismapping10" name="row"   colIndex="<%=idx %>" />
			           </td>
 
			           <%} %>                                                                                   
                	<td><custom:write property="errormassage" name="usergroup" nbsp="true"/></td>    
    
          <% } %> 
          
          <%  if (subjectcode.equals("905")){  %>                                                                                                                                                                                                                                                              	
   			                                                                                                                                                                                                                                                                 
                 <td><custom:write property="zylempdoctorapproveid" name="usergroup"  nbsp="true" /></td>                                                                                                                                                                                   
                 <td><custom:write property="approvename" name="usergroup"  nbsp="true"/></td>                                                                                                                                                                                           
                     <td><a href="../../biee/ApprovalNotesFrm.jsp?<%= OvalTools.randomURL() %>&transactionid=<custom:write name="usergroup" property="zylempdoctorapproveid"/>&transactioncode=<custom:write name="usergroup" property="zylempdoctorapproveid"/>&subjectcode=812">
                 <%= label.getLabelName("L_Approve") %>                                                                                                                                                                                                                                  
                 </a></td>   
                 
                <td><custom:write property="hpcode" name="usergroup" nbsp="true"/></td>                                
         				<td><custom:write property="hpname" name="usergroup" nbsp="true"/></td>                                                                                                                                                                                                                                                                                 
         				<td><custom:write property="doctorcode" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="doctorname" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="englishname" name="usergroup" nbsp="true"/></td>  
         				<custom:hidden property="basestatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />         
         				<td><custom:write property="statusname" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="gendername" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="nativeplace" name="usergroup" nbsp="true"/></td>           
         				<td><custom:write property="departmentname" name="usergroup" nbsp="true"/></td>        
         				<td><custom:write property="jobtitlename" name="usergroup" nbsp="true"/></td>          
         				<td><custom:write property="dutytime" name="usergroup" nbsp="true"/></td>              
         				<td><custom:write property="birthday" name="usergroup" nbsp="true"/></td>              
         				<td><custom:write property="birthdaycn" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="idcardno" name="usergroup" nbsp="true"/></td>              
         				<td><custom:write property="college" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="profession" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="graduatedate" name="usergroup" nbsp="true"/></td>          
         				<td><custom:write property="address" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="zipcode" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="interest" name="usergroup" nbsp="true"/></td>              
         				<td><custom:write property="telephone" name="usergroup" nbsp="true"/></td>             
         				<td><custom:write property="cellphone" name="usergroup" nbsp="true"/></td>             
         				<td><custom:write property="email" name="usergroup" nbsp="true"/></td>                 
         				<td><custom:write property="societytitle" name="usergroup" nbsp="true"/></td>          
         				<td><custom:write property="comments" name="usergroup" nbsp="true"/></td>              
         				                                                                                    
         				<td><custom:write property="attr101" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="attr102" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="attr103" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="attr104" name="usergroup" nbsp="true"/></td>               
         				<td><custom:write property="attr105" name="usergroup" nbsp="true"/></td>               
         				                                                                                    
         				<td><custom:write property="ismapping1" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping2" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping3" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping4" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping5" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping6" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping7" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping8" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping9" name="usergroup" nbsp="true"/></td>            
         				<td><custom:write property="ismapping10" name="usergroup" nbsp="true"/></td>           
         				                                                                                    
                <td><custom:write property="errormassage" name="usergroup" nbsp="true"/></td>          
          <% } %> 
        
                           
			 </tr>

            
    </logic:iterate>  
    
    <input type="hidden" name="zyldealerapproveid" value="<%=JspHelper.filterNull( nDefaultzyldealerapproveid )%>">

    
</span>
<!--		<tr> -->
	<!--			<td colspan="66" align="left"><%= label.getLabelName("L_TotalData") + label.getLabelName("L_Colon") %><custom:write property="count" name="count" nbsp="true"/></td> -->
	<!--		</tr> -->
            <%@ include file="/inc/SummaryActionUP.inc" %>

          </table>
    
 </div>   
    <% //--------------------------------------  page operation button --%>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    	<tr> 
        	<td class="summary_top" ></td>
        </tr>
        <tr> 
        	<td class="td_center"> 
        	<% if ((subjectcode.equals("804"))||(subjectcode.equals("807"))||(subjectcode.equals("812"))){ %>
<!--        	<a onclick="javascript:page_approval()" ><custom:button type="1" label="L_Check" imgsrc="save.gif" border="0" style="width:60"   /></a>-->
        		<a onclick="page_done('agree')"><custom:button type="1" label="L_Agree" imgsrc="new.gif" border="0" style="width:60"/></a>
        		<a onclick="page_done('disagree')"><custom:button type="1" label="L_NotAgree" imgsrc="edit.gif" border="0" style="width:60"/></a>
        		<a onclick="page_done('deny')"><custom:button type="1" label="L_Deny" imgsrc="delete.gif" border="0" style="width:60"/></a>  
        		<%} %>
        		<a onclick="page_back();"><custom:button type="1" label="L_Back" imgsrc="back.gif" border="0" style="width:60"/></a>      		
        	</td>
        </tr>
  	</table>

</form>
</body>
</html>


